package com.mvc.cms.manager.assist;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.mvc.cms.entity.assist.CmsHouseData;
import com.mvc.common.page.Pagination;

public interface CmsHouseDataMng {
	
	public CmsHouseData save(CmsHouseData bean);
	
	public void save(List<Map<String, String>> list,String name);
	
	public CmsHouseData find(Integer id);
	
	public CmsHouseData[] delete(Integer[] ids);
	
	public void ReadExcel(String path,String name);
	
	public List<Object[]> rangeStatistics(String name,String are,String seller,
	        String license,String use,String building,Date begin,Date end);
	
	public List<Object[]> propertyStatistics(String name,String are,String seller,
	        String license,String use,String building,Date begin, Date end);
	
	public Pagination getPage(String name, String area, String seller,
			String license, String use, String building, Date begin, Date end,
			int pageNo, int pageSize);

	//根据列获得去重复的值
	public List<String> getAllRow(String key);
}
